home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / gwa281v1.zip / lib / user / pref-ibm.prf < prev    next >
Text File  |  1997-03-03  |  2KB  |  167 lines

  1. # File: pref-ibm.prf
  2.  
  3. #
  4. # This file is used by Angband (when it was compiled using "main-ibm.c")
  5. # to specify various "user preferences", including "macros".
  6. #
  7. # This file defines some basic macros, which allow the use of the "keypad",
  8. # alone, and with the shift and/or control modifier keys.  All "special"
  9. # keys are translated by "main-ibm.c" into special "macro triggers" of the
  10. # encoded form "^_MMMxSS\r", where the "modifier" flags are stored in "MMM",
  11. # and the two digit hexidecimal scan code of the keypress is stored in "SS",
  12. # see "main-ibm.c" for info.
  13. #
  14.  
  15.  
  16.  
  17. #
  18. # Hack -- Some foreign keyboards have a special key on the keyboard, which
  19. # is used to generate the "<", ">", and "|" keys (alone, shifted, alt-ed).
  20. #
  21.  
  22. A:<
  23. P:^_x56\r
  24.  
  25. A:>
  26. P:^_Sx56\r
  27.  
  28. A:|
  29. P:^_Ax56\r
  30.  
  31.  
  32. #
  33. # Keypad (7,8,9,-,4,5,6,+,1,2,3,0,.)
  34. #
  35.  
  36. A:7
  37. P:^_x47\r
  38.  
  39. A:8
  40. P:^_x48\r
  41.  
  42. A:9
  43. P:^_x49\r
  44.  
  45. A:-
  46. P:^_x4A\r
  47.  
  48. A:4
  49. P:^_x4B\r
  50.  
  51. A:5
  52. P:^_x4C\r
  53.  
  54. A:6
  55. P:^_x4D\r
  56.  
  57. A:+
  58. P:^_x4E\r
  59.  
  60. A:1
  61. P:^_x4F\r
  62.  
  63. A:2
  64. P:^_x50\r
  65.  
  66. A:3
  67. P:^_x51\r
  68.  
  69. A:0
  70. P:^_x52\r
  71.  
  72. A:.
  73. P:^_x53\r
  74.  
  75.  
  76. #
  77. # Shift + Keypad (7,8,9,-,4,5,6,+,1,2,3,0,.)
  78. #
  79. # Run, Run, Run, JUMP, Run, Run, Run, DIG, Run, Run, Run, OPEN, DISARM
  80. #
  81.  
  82. A:\e\e\\.7
  83. P:^_Sx47\r
  84.  
  85. A:\e\e\\.8
  86. P:^_Sx48\r
  87.  
  88. A:\e\e\\.9
  89. P:^_Sx49\r
  90.  
  91. A:\e\e\\-
  92. P:^_Sx4A\r
  93.  
  94. A:\e\e\\.4
  95. P:^_Sx4B\r
  96.  
  97. A:\e\e\\.5
  98. P:^_Sx4C\r
  99.  
  100. A:\e\e\\.6
  101. P:^_Sx4D\r
  102.  
  103. A:\e\e\\+
  104. P:^_Sx4E\r
  105.  
  106. A:\e\e\\.1
  107. P:^_Sx4F\r
  108.  
  109. A:\e\e\\.2
  110. P:^_Sx50\r
  111.  
  112. A:\e\e\\.3
  113. P:^_Sx51\r
  114.  
  115. A:\e\e\\o
  116. P:^_Sx52\r
  117.  
  118. A:\e\e\\D
  119. P:^_Sx53\r
  120.  
  121.  
  122. #
  123. # Control + Keypad (7,8,9,-,4,5,6,+,1,2,3,0,.)
  124. #
  125. # Dig, Dig, Dig, JUMP, Dig, Dig, Dig, DIG, Dig, Dig, Dig, OPEN, DISARM
  126. #
  127.  
  128. A:\e\e\\+7
  129. P:^_Cx77\r
  130.  
  131. A:\e\e\\+8
  132. P:^_Cx8D\r
  133.  
  134. A:\e\e\\+9
  135. P:^_Cx84\r
  136.  
  137. A:\e\e\\-
  138. P:^_Cx8E\r
  139.  
  140. A:\e\e\\+4
  141. P:^_Cx73\r
  142.  
  143. A:\e\e\\+5
  144. P:^_Cx8F\r
  145.  
  146. A:\e\e\\+6
  147. P:^_Cx74\r
  148.  
  149. A:\e\e\\+
  150. P:^_Cx90\r
  151.  
  152. A:\e\e\\+1
  153. P:^_Cx75\r
  154.  
  155. A:\e\e\\+2
  156. P:^_Cx91\r
  157.  
  158. A:\e\e\\+3
  159. P:^_Cx76\r
  160.  
  161. A:\e\e\\o
  162. P:^_Cx92\r
  163.  
  164. A:\e\e\\D
  165. P:^_Cx93\r
  166.  
  167.